
#ifndef _ALITTLE_UIDISPLAYOBJECTS_H_
#define _ALITTLE_UIDISPLAYOBJECTS_H_

#include "UIDisplayObject.h"

#include <list>

namespace ALittle
{

class UIDisplayObjects : public UIDisplayObject
{
public:
	UIDisplayObjects();
	~UIDisplayObjects();

public:
	void SetVisible(bool visible);

public:
	void SetX(float x);
	void SetY(float y);

public:
	void SetAngle(float angle);

public:
	void AddChild(UIDisplayObject* object);
	void RemoveChild(UIDisplayObject* object);
	void RemoveAll();

public:
	void Render();

public:
	bool m_visible;

private:
	float m_x, m_y;
	float m_angle;

private:
	typedef std::list<UIDisplayObject*> DisplayList;
	DisplayList m_display_list;
};

} // ALittle

#endif // _ALITTLE_UIDISPLAYOBJECTS_H_
